package com.lfx.concurrent.daemon;

/**
 * @author 李逢喜
 * create 2021/7/23
 */
public class DaemonMain2 {

    public static void main(String[] args) throws InterruptedException {

        MyThread2 myThread2 = new MyThread2();
        myThread2.start();
        Thread.sleep(5000);
//        myThread2.stopRunning();
//        myThread2.join();
//        Thread.sleep(5000);
//        myThread2.interrupt();
    }
}
